/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tagHandlers;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.JspFragment;
import javax.servlet.jsp.tagext.SimpleTagSupport;

/**
 *
 * @author eisa
 * Custom jsp tag used to draw all user
 * into html table
 */
public class ShowAllUserTag extends SimpleTagSupport {





    @Override
    public void doTag() throws JspException
    {
      JspWriter out=getJspContext().getOut();

      JspFragment f = getJspBody();
            if (f != null) {
                try {
                    f.invoke(out);
                    out.print("Hello");
                } catch (IOException ex) {

                    System.err.println("Error In ShowAllUserTag");
                    //Logger.getLogger(ShowAllUserTag.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        }

}
